from django.contrib import admin
from computer.computers.models import *


class computerAdmin(admin.ModelAdmin):
    list_display = ('comID', 'status', 'errorID')


class countComAdmin(admin.ModelAdmin):
    list_display = ('com_good', 'com_error')


class HistoryComErrorAdmin(admin.ModelAdmin):
    list_display = ('comID', 'date', 'name')


admin.site.register(computer, computerAdmin)
admin.site.register(countCom, countComAdmin)
admin.site.register(HistoryComError, HistoryComErrorAdmin)
